package com.wx.pojo;

public class Cart {

	private Integer cartId;//购物车的信息id
	private String userId;//买家用户id
	private Integer sourceId;//商品信息id
	
	private String sourceName;//商品名称
	private String sourceImage;//商品小图
	private Integer sourceCount;//商品数量
	
	private Double sourcePrice;//商品信息的单价
	private Double sourceFee;//单种商品信息的总价钱
	
	public Integer getCartId() {
		return cartId;
	}

	public void setCartId(Integer cartId) {
		this.cartId = cartId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getSourceId() {
		return sourceId;
	}

	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getSourceImage() {
		return sourceImage;
	}

	public void setSourceImage(String sourceImage) {
		this.sourceImage = sourceImage;
	}

	public Integer getSourceCount() {
		return sourceCount;
	}

	public void setSourceCount(Integer sourceCount) {
		this.sourceCount = sourceCount;
	}

	
	public Double getSourcePrice() {
		return sourcePrice;
	}

	public void setSourcePrice(Double sourcePrice) {
		this.sourcePrice = sourcePrice;
	}

	public Double getSourceFee() {
		return sourceFee;
	}

	public void setSourceFee(Double sourceFee) {
		this.sourceFee = sourceFee;
	}


	@Override
	public String toString() {
		return "Cart [cartId=" + cartId + ", userId=" + userId + ", sourceId=" + sourceId + ", sourceName=" + sourceName
				+ ", sourceImage=" + sourceImage + ", sourceCount=" + sourceCount + ", sourcePrice=" + sourcePrice
				+ ", sourceFee=" + sourceFee + "]";
	}


	
	
	
}
